
// loading
export const loading = (_this) => {
    return _this.$createToast({
        txt: 'Loading...',
        mask: true
      }).show()
}

// message
//  三个状态 1.warn警告⚠️ 2.txt 只显示文字 3.correct 成功
export const msg = (_this, type, txt) => {
  return _this.$createToast({
    txt,
    type
  }).show()
}

// push Path
export const push = (_this, path) => {
  setTimeout(() => {
    _this.$router.push(path)
  }, 1000)
}
